﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ODP.Model
{
    [DataContract]
    public class OAuthInfo
    {
        #region uid(当前登陆用户id)
        [DataMember(Name = "uid")]
        /// <summary>
        /// 当前登陆用户id
        /// <summary>
        public Int64 uid { get; set; }
        #endregion

        #region createtime(记录accesstoken的时间)
        [DataMember(Name = "createtime")]
        /// <summary>
        /// 记录accesstoken的时间
        /// <summary>
        public DateTime createtime { get; set; }
        #endregion

        #region accesstoken(授权口令)
        [DataMember(Name = "accesstoken")]
        /// <summary>
        /// 授权口令
        /// <summary>
        public string accesstoken { get; set; }
        #endregion

        #region code(授权识别码)
        [DataMember(Name = "code")]
        /// <summary>
        /// 授权识别码
        /// <summary>
        public string code { get; set; }
        #endregion
    }
}
